Toggle navigation
Search
思元的開發筆記
Programming
Unity
LeetCode
Golang
Game Demos
Archive
Blog
About
思元的開發筆記
關於 web service, unity, blogger 等軟體工程筆記
×
Search dev.twsiyuan.com
Unity Platformer 2D: Moving Platform
持續前幾篇的練習。 關於平台移動 製作移動式的平台來增加遊戲性,移動式平台可以使用 Animator 去製作,或者是寫 Scripts 來達成。但不管使用哪種一方式,應該都在物理更新時,才重新計算平台的位置。Animator 可以設定 Update Mode 為 Anim...
Read More
王思元
10:33 下午
程式語言
,
C-sharp
,
Unity
Unity Platformer 2D: Ragdoll
持續 上一篇的練習 。 想按照之前在 3D 製作 ragdoll(布娃娃)的方法,在 2D 如法炮製建立 ragdoll,當角色死亡時,切換角色成 ragdoll,讓物理模擬演出死亡動態。 結論,因參數設計不良,做出來的效果表現 沒有達到預期的那樣好 ,且不預期奇怪的情況也...
Read More
王思元
4:06 下午
程式語言
,
C-sharp
,
Unity
Unity Platformer 2D: Character Animations
延續上一篇 Character 2D Movement using Physical in Unity 的練習,繼續使用 FGJ 活動中,團隊所繪製的素材繼續練習。這次要結合之前的角色移動以及跳躍功能,加上播放對應的動畫。 Prepare Animation Clips...
Read More
王思元
12:20 上午
程式語言
,
C-sharp
,
Unity
Unity Platformer 2D: Character Movement using Physical
物理與碰撞 想要在 Unity 中使用其物理引擎控制 2D 遊戲物件,Rigidbody2D,這一個組件(Component)是最重要的核心。把 Rigidbody2D 加上 2D 碰撞體(2D Colliders)放在同一個 GameObject 上,即可在遊戲中看到自由落...
Read More
王思元
10:55 下午
程式語言
,
C-sharp
,
Unity
Facebook Open Graph Setting in Blogger
Open Graph Protocol 是 Facebook 發展的 meta data 的建立規範,這邊僅提及文章(Article)的應用。 當部落格文章分享到 Facebook 時,Facebook 會讀取 Open Graph 的標籤資料來產生的文章預覽,包含縮圖以及摘要...
Read More
王思元
11:45 下午
網站
,
Blogger
,
SEO
較新的文章
較舊的文章
粉絲專頁
本週熱門
網誌存檔
贊助廣告
粉絲專頁
每周熱門
在 Unity 使用 AssetBundles 實作簡易的遊戲資源打包以及更新機制
Unity 官方之前在 Asset Store 上有分享 AssetBundle Manager ,並提供官方教學文章介紹 AssetBundle 載入機制,我們參考該教學以及範例,因應遊戲設計考量,自己使用 Unity 提供的底層 AssetBundle API,製作...
Unity Coroutine 使用筆記
最近有人問為什麼 Nested coroutine 的機制與問題,為什麼會是需要 yield return StartCoroutine(...) ,而不能省略 StartCoroutine ?在久遠的 Unity3.x 時代,印象中得呼叫該函數才能夠正常運作。...
Unity 遊戲存檔機制淺談,從序列化 (Serialization) 到儲存裝置 (Storage)
之前在社團看到的有趣問題,因此綜合以前的開發經驗,整理成這份筆記。
TCP 連線狀態機制與流程
在開發基於 HTTP 的網路應用服務時,當有大量連線要求,或是與長連線 (Persistent connection) 要求時,常常遇到底層 TCP 的連線斷線錯誤,導致服務不穩定。因此研究了解 TCP 的連線狀態機制,並嘗試用自己的方式整理筆記,希望能從基礎知識中找到...
Unity WebRequest
在 Unity 建立 Web Request,向指定網址資源送出 HTTP 要求 (Request),等待遠端伺服器回應 (Response),抓取回應得資料內容 (Content) 進行處理。 關於 HTTP 的資料傳輸結構,可以參考的「 HTTP 淺談,使用 PostMa...
Unity rendering order 整理筆記
自從上次 GameJam 體驗在 Unity 中,使用 SpriteRenderer 可直接調整 Sorting layer 來決定 render 順序後,便一直很好奇其背後實作到底是什麼,為什麼改變一個數值便能調整 sprites 在 render 結果的先後順序,而不...
Github SSH 連線設定,確保 Mac SourceTree 正常運作
前陣子在 Mac 上使用 SourceTree 這套 GUI 工具來管理 Github repositories,但由於帳號因安全性考量改用 2FA (Two-factor authentication) 認證後,原先在 SourceTree 採用 HTTPS 利用帳...
如何建立 OpenSSL Self-Sign Certificate
要建立一個自己測試用的 SSL 伺服器,需要產生憑證(Certificate)。沒預算支付由信任憑證單位(CA: Certificate Authority)所簽署的憑證費用。因此自己用 OpenSSL 建立 CA,然後自己簽署自己的憑證。雖然是紅色鎖頭會產生警告訊息,反正自己...
Unity 專案中 *.meta 做什麼用
最近團隊有人詢問 Unity 的 GUID 機制,在思考回答的過程中,順便把它整理成這篇筆記。如果要尋找能夠與工程團隊合作的 Unity 工程師,我想這一題應該會列在考題之中,meta 檔是做什麼用的?如果能回答出 Unity GUID 追蹤資源的機制,相信已經能夠滿足團隊...
TortoiseGit 配置 PuTTY Key
每次使用 TortoiseGit 進行專案遠端的 Pull/Push 都需要輸入一次認證,次數多了覺得麻煩懶惰,怎麼沒法記憶認證密碼這一回事?原來只是不會用而已…,以下筆記使用 PuTTY 建立 SSH Key,讓 Git 使用 SSH Key 認證,而不用每次進行遠端操作時,...
網誌存檔
►
2018
( 27 )
►
10月
( 1 )
►
9月
( 1 )
►
8月
( 1 )
►
6月
( 3 )
►
5月
( 5 )
►
4月
( 4 )
►
3月
( 1 )
►
2月
( 6 )
►
1月
( 5 )
►
2017
( 59 )
►
12月
( 4 )
►
11月
( 3 )
►
10月
( 6 )
►
9月
( 5 )
►
8月
( 5 )
►
7月
( 5 )
►
6月
( 5 )
►
5月
( 4 )
►
4月
( 5 )
►
3月
( 8 )
►
2月
( 6 )
►
1月
( 3 )
▼
2016
( 44 )
►
12月
( 3 )
►
11月
( 2 )
►
10月
( 6 )
►
9月
( 4 )
▼
8月
( 5 )
Unity Platformer 2D: Moving Platform
Unity Platformer 2D: Ragdoll
Unity Platformer 2D: Character Animations
Unity Platformer 2D: Character Movement using Phys...
Facebook Open Graph Setting in Blogger
►
7月
( 4 )
►
6月
( 4 )
►
5月
( 2 )
►
4月
( 2 )
►
3月
( 3 )
►
2月
( 6 )
►
1月
( 3 )
►
2015
( 1 )
►
12月
( 1 )
贊助廣告